package com.zjt.myjiakao.error;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.zjt.myjiakao.R;

public class ErrorActivity extends AppCompatActivity {

    private Button all_error;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_error);
        initView();
        startAllError();
    }

    private void startAllError() {
        all_error.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                 startActivity(new Intent(ErrorActivity.this,AllErrorActivity.class));
            }
        });
    }

    private void initView() {
        all_error=findViewById(R.id.all_error);
    }


}
